#ifndef __EJ_FM1505_PHY_H__
#define __EJ_FM1505_PHY_H__

#include "common_def.h"
#define USE_TEST_SPI

#ifdef SUPPORT_FM1505_DMS
void ej_fm1505_phy_init(void);
void ej_fm1505_phy_exit(void);

void ej_fm1505_phy_dly_ms(uint32_t dly_ms);
void ej_fm1505_phy_chip_reset_control(bool enable);
void ej_fm1505_phy_spi_cs_control(bool enable);
void ej_fm1505_phy_spi_write(uint8_t *wbuf, uint16_t len);
void ej_fm1505_phy_spi_read(uint8_t *rbuf, uint16_t len);
#endif

#endif /* __EJ_FM1505_PHY_H__ */
    